<div id="logo">
    Tin tức hằng ngày!
</div><!-- End logo -->

<!-- left header -->
<div id="login-user">
<?php 
    if (authentication() == false) {  
 ?>
    <form action="" method="post">
        <div class="form-item">    
        	<div class="form-label">Tên NSD:</div>
            <div class="form-input"><input type="text" name="username" id="username" value="" class="form-text" /></div></br>
            <div class="clear"></div>
        </div>
        <div class="form-item">
        	<div class="form-label">Mật khẩu:</div>
            <div class="form-input"><input type="text" name="password" id="password" value="" class="form-text" /></div></br>
            <div class="clear"></div>
        </div>
        <div class="form-item">
        	<input type="submit" name="btnLogin" id="btnLogin" value="Đăng nhập" class="form-submit" />
            <a href="?mod=register">Đăng kí</a>
        </div>
    </form>
<?php
     }
    else{
?>
        <div>Chào <?php echo $_SESSION['Username']; ?> | <a href="?logout=logout">Thoát</a></div>
<?php        
    }
 ?>
</div><!-- End left header -->